<script lang="ts" setup>
import ChinaMap from '../options/map-china';
const data = [
  { name: '台湾', value: 20000 },
  { name: '河北', value: 2000 },
  { name: '山西', value: 2000 },
  { name: '内蒙古', value: 2000 },
  { name: '辽宁', value: 2000 },
  { name: '吉林', value: 2000 },
  { name: '黑龙江', value: 0 },
  { name: '江苏', value: 9999 },
  { name: '浙江', value: 9999 },
  { name: '安徽', value: 9999 },
  { name: '福建', value: 6500 },
  { name: '江西', value: 6500 },
  { name: '山东', value: 6500 },
  { name: '河南', value: 6500 },
  { name: '湖北', value: 1500 },
  { name: '湖南', value: 100 },
  { name: '广东', value: 20000 },
  { name: '广西', value: 1500 },
  { name: '海南', value: 1000 },
  { name: '四川', value: 3000 },
  { name: '贵州', value: 3000 },
  { name: '云南', value: 3000 },
  { name: '西藏', value: 3000 },
  { name: '陕西', value: 100 },
  { name: '甘肃', value: 5000 },
  { name: '青海', value: 2000 },
  { name: '宁夏', value: 2000 },
  { name: '新疆', value: 2000 },
  { name: '北京', value: 2000 },
  { name: '天津', value: 2000 },
  { name: '上海', value: 2000 },
  { name: '重庆', value: 200 },
  { name: '香港', value: 200 },
  { name: '澳门', value: 200 },
  { name: '南海诸岛', value: 15000 },
];
const option = ref(ChinaMap(data) as any)
</script>

<template>
  <div h-524px w-960px  mb="5" bg="[url(@/assets/image/background_map.png)] no-repeat center">
    <EchartsContainer :option="(option)" />
  </div>
</template>
